package com.jinmdz.fmis.api.api.model.photoarchival;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 按类型拍照备案请求实体
 *
 * @author GuanKui
 * @date 2020/2/20 13:43
 */
@ApiModel(value = "按类型拍照备案请求实体", description = "按类型拍照备案请求实体")
public class PhotoArchivalTypeData extends BaseBean {
    /**
     * 业务编码
     */
    @AnValidate(name = "业务编码", required = true)
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 1)
    private String businessCode;

    /**
     * 文档类型
     */
    @AnValidate(name = "文档类型", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "文档类型", name = "documentTypeCode", position = 2)
    private Integer documentTypeCode;
    /**
     * 是否核验0，未确认审核；1，已确认审核
     */
    @ApiModelProperty(value = "是否核验", name = "asRecognition", position = 3)
    private Integer asRecognition;
    public String getBusinessCode() {
        return businessCode;
    }

    public PhotoArchivalTypeData setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getDocumentTypeCode() {
        return documentTypeCode;
    }

    public PhotoArchivalTypeData setDocumentTypeCode(Integer documentTypeCode) {
        this.documentTypeCode = documentTypeCode;
        return this;
    }

    public Integer getAsRecognition() {
        return asRecognition;
    }

    public void setAsRecognition(Integer asRecognition) {
        this.asRecognition = asRecognition;
    }
}
